package com.dotflat.fin.service;

import com.dotflat.fin.domain.FinPlanOrder;
import com.matt.domain.Clientele;

import java.util.Map;

public interface PayService {

    /**
     * 生成支付工具订单，准备支付
     * @param clientele
     * @param openId
     * @param resourceType
     * @return
     */
    Map<String,Object> prepare(Clientele clientele, String openId, Integer resourceType, FinPlanOrder finPlanOrder, long useDeposit);

    /**
     * 支付资源订单,准备支付
     * @param clientele
     * @param openId
     * @param resourceType
     * @return
     */
    Map<String,Object> prepare(Clientele clientele, String openId, Integer resourceType, String resourceId, long useDeposit);



}
